package com.example.controller;

import com.example.annotation.WebApiResponseBody;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
    @RequestMapping("hello")
    @WebApiResponseBody
    public String sayHello() {
        return "Hello spring-boot!";
    }
}

